<h2> My Dashboard </h2>
<font size = 4>Welcome <strong><?php echo $this->session->userdata('email');  ?></strong>!</font><br />

<b>Announcements:</b>
<ul>
<?php
       $announcements = $this->db->get_where("announcements", array("for" => "students"));

       foreach($announcements->result() as $text){
               echo "<li> - &nbsp" . $text->message . "</li>";
       }
?>

<br />

Member since: <?php echo $this->session->userdata('regtime'); ?><br />
Last login: <?php echo $this->session->userdata('last_login'); ?> -- NOT YET WORKING
